package com.srit.yoggsaron.db.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class Task {

	
	public static final int TASK_STATUS_WAITING=0;
	public static final int TASK_STATUS_DOING=2;
	public static final int TASK_STATUS_CODING=3;
	public static final int TASK_STATUS_TEST=4;
	public static final int TASK_STATUS_COMPLETE=5;
	
	
	public static List<TaskStatusEnum> getStatus()
	{  
		 
		List<TaskStatusEnum> list = new ArrayList<TaskStatusEnum>();
		
		list.add( TaskStatusEnum.WAITING  );
		list.add( TaskStatusEnum.DOING  );
		list.add( TaskStatusEnum.TEST );
		list.add( TaskStatusEnum.COMPLETE  );
		return   list ;
	}
	
	
	 
	
	private   String  taskId= null ;/**         */
	private   String  taskTitle= null ;/**         */
	private   Integer  taskType= null ;/**    任务类型（前端、后端）     */
	private   Integer  priority= null ;/**    任务优先级     */
	private   Date  createTime= null ;/**    创建时间     */
	private   Date  plannedEndTime= null ;/**    计划结束时间     */
	private   Date  startTime= null ;/**    任务开始时间     */
	private   Date  endTime= null ;/**    任务结束时间     */
	private   Date  updateTime= null ;/**    任务更新时间     */
	private   String  taskStatus= null ;/**    任务状态（等待、进行中、研发完成、测试完成）     */
	private   String  projectId= null ;/**    任务所属项目     */
	private   String  userId= null ;/**    分配执行人（用户）     */
	private   String  description= null ;/**    任务功能详细描述     */
	
	
	public String getTaskId() {
		return taskId;
	}
	public String getTaskTitle() {
		return taskTitle;
	}
	public void setTaskTitle(String taskTitle) {
		this.taskTitle = taskTitle;
	}
	public void setTaskId(String tasktId) {
		this.taskId = tasktId;
	}
	public Integer getTaskType() {
		return taskType;
	}
	public void setTaskType(Integer taskType) {
		this.taskType = taskType;
	}
	public Integer getPriority() {
		return priority;
	}
	public void setPriority(Integer priority) {
		this.priority = priority;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getPlannedEndTime() {
		return plannedEndTime;
	}
	public void setPlannedEndTime(Date plannedEndTime) {
		this.plannedEndTime = plannedEndTime;
	}
	public Date getStartTime() {
		return startTime;
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public String getTaskStatus() {
		return taskStatus;
	}
	public void setTaskStatus(String taskStatus) {
		this.taskStatus = taskStatus;
	}
	public String getProjectId() {
		return projectId;
	}
	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
}
